<?php
namespace app\api\controller;

class BaseUser extends Base
{
	public function initialize()
	{
		parent::initialize();
		if(!$this->user){
			die(cdm(401,'/login','Token失效,请重新登录!'));
		}
	}
}